home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000156_icon-group-sender _Thu Jul 11 13:15:59 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Thu, 11 Jul 1996 13:06:18 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 11 Jul 1996 13:15:59 GMT
  4. From: espie@chaland.ens.fr (Marc Espie)
  5. Message-Id: <4s2uqf$6q2@nef.ens.fr>
  6. Organization: Ecole Normale Superieure, Paris
  7. Sender: icon-group-request@cs.arizona.edu
  8. Subject: Multiple color palettes under X-Icon ?
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10. Status: O
  11.  
  12. I've been trying to play with algorithms for color palette reduction
  13. in Icon.
  14.  
  15. It seems I've run into unsurmountable problems, at least under the 
  16. current implementation.
  17.  
  18. Correct me if I'm wrong, but it seems that Icon uses just one color palette
  19. for all the windows. This may sound reasonable, but it seems that Icon
  20. pushes it too far: namely, it uses the same color palette for off-screen 
  21. images as well.
  22.  
  23. Assuming you want to play with digitized images, this is not good.
  24.  
  25. What I want to do is to read a digitized image, for which
  26. WOpen("canvas=hidden", "image=xxx") looks perfect, build an histogram
  27. of the pixel values using Pixel(), process what I've got with standard
  28. algorithm, and build a modified image on-screen.
  29.